package com.kb.domain.gc;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 元器件分类 VO
 *
 * @author 国创工软
 */
@Data
public class CategoryRespVO {
    @Schema(description = "分类ID")
    private Long id;

    @Schema(description = "分类名称")
    private String name;

    @Schema(description = "级别")
    private Integer level;

    @Schema(description = "分类图片")
    private Long image;

    @Schema(description = "子分类数量")
    private Integer childNum;

    @Schema(description = "产品数量")
    private Long productNum;

    @Schema(description = "公开产品数量")
    private Long publicProductNum;

    @Schema(description = "子分类列表")
    private List<CategoryRespVO> children = new ArrayList<>();
}
